import React from 'react';
import { HashRouter, Route, Link } from 'react-router-dom';



export default class Home extends React.Component {
  render() {
    console.log(this.props)
    return (

        <div>
          <ul>
            <li>
              <Link to="/a/home">首页1</Link>
            </li>

            <li>
              <Link to="/about" >about1</Link>
            </li>
            <li>
              <Link to="/topics">topics1</Link>
            </li>
            <li>
              <Link to="/imooc">imooc</Link>
            </li>
          </ul>
          <hr />
          {this.props.children}
        </div>

    )
  }
}